package com.ruoyi.clothing.domain.vo;

/**
 * @author weh
 * @create 2024-01-19 9:54
 */
public class UpdateData {

    /**
     * 前端传来的用户名
     */
    private String username;

    /**
     * 前端传来的新密码
     */
    private String newPassword;

    /**
     * 前端传来的确认密码
     */
    private String confirmPassword;

    public UpdateData(String username, String newPassword, String confirmPassword) {
        this.username = username;
        this.newPassword = newPassword;
        this.confirmPassword = confirmPassword;
    }

    public UpdateData() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public String getConfirmPassword() {
        return confirmPassword;
    }

    public void setConfirmPassword(String confirmPassword) {
        this.confirmPassword = confirmPassword;
    }

    @Override
    public String toString() {
        return "UpdateData{" +
                "username='" + username + '\'' +
                ", newPassword='" + newPassword + '\'' +
                ", confirmPassword='" + confirmPassword + '\'' +
                '}';
    }
}
